package com.uniview.entity.vo;

public class Cache {   
    private String key;//缓存ID   
    private int value;//缓存数据   
    private String msgId;
    private long timeOut;//更新时间   
    private boolean expired; //是否终止   
    public Cache() {   
            super();   
    }   

    public Cache(String key, int value, String msgId,long timeOut, boolean expired) {   
            this.key = key;   
            this.value = value;   
            this.msgId = msgId;
            this.timeOut = timeOut;   
            this.expired = expired;   
    }   
    
    public Cache(String key, int value, String msgId) {   
        this.key = key;   
        this.value = value;   
        this.msgId = msgId;  
}  

    public String getKey() {   
            return key;   
    }   

    public long getTimeOut() {   
            return timeOut;   
    }   

    public int getValue() {   
            return value;   
    }   

    public void setKey(String string) {   
            key = string;   
    }   

    public void setTimeOut(long l) {   
            timeOut = l;   
    }   

    public void setValue(int object) {   
            value = object;   
    }   

    public boolean isExpired() {   
            return expired;   
    }   

    public void setExpired(boolean b) {   
            expired = b;   
    }

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}   
    
    
}   
